import {
	http
} from "../config.js";

// 获取轮播图
export const getSwiper = (params) => {
	return http.post("search/indexSlides",params,true,false);
}
// 获取公告列表
export const getIndexContent = (params) =>{
	return http.post("content/getContents",params,true,false);
}
// 获取商品区域列表
export const getAreaList = (params) =>{
	return http.get("goods/get/areaList",params,true,false);
}
// 获取首页分类 front/goods/get/configTypeList
export const configTypeList = (params) =>{
	return http.get("goods/get/configTypeList",params,true,false);
}
// 获取版本号 front/version
export const version = (params) =>{
	return http.post("front/version",params,true,false);
}

